.pub-main {
    overflow: auto;

    &::-webkit-scrollbar {
        width: 0 !important;
    }
    .el-textarea__inner_custom {
        &:hover {
            box-shadow: 0 0 0 1px var(--el-border-color) inset;
        }
        &:focus {
            box-shadow: 0 0 0 1px var(--el-color-primary) inset !important;
        }
        &:disabled {
            cursor: not-allowed;

            background-color: var(--el-disabled-bg-color);
            box-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;
        }
    }

    .flex {
        display: flex;
    }

    .step-title {
        display: flex;
        align-items: center;

        padding: 16px 24px;

        background-color: #ffffff;

        .title-wrapper {
            display: flex;

            width: 100%;

            border-bottom: 1px solid #eaeaea;
        }

        .step-title-item {
            display: flex;
            align-items: center;
            justify-content: center;

            width: 240px;

            text-align: center;

            border: 1px solid #eaeaea;

            font-size: 14px;
            line-height: 35px;

            span {
                width: 20px;
                height: 20px;
                margin-right: 8px;

                text-align: center;

                color: #33302d;
                border-radius: 50%;
                background: #eaeaea;

                line-height: 20px;
            }
        }

        .step-title-item-active {
            color: #ff6b00;
            background: #ffebdc;

            span {
                color: #ffffff;
                background: #fa6a0a;
            }
        }
    }

    .content-title {
        position: relative;

        padding-bottom: 20px;

        color: #33302d;

        font-size: 16px;
        line-height: 16px;

        &::before {
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;

            width: 100%;
            height: 1px;

            content: '';

            background: #eaeaea;
        }
    }

    .content {
        margin: 16px 0;
        padding: 20px 24px;

        background-color: #ffffff;

        .base-info {
            width: 794px;
        }

        :deep .el-input.is-focus .el-input__inner {
            border: none !important;
        }

        .upload-img {
            width: 180px;

            // height: 180px;
            :deep .el-upload-dragger {
                height: 180px;
            }

            .upload-icon {
                padding-top: 16px;

                color: #fa6a0a;

                font-size: 28px;
            }

            .upload-tip {
                padding-top: 6px;

                color: #969696;

                font-size: 14px;
                line-height: 18px;
            }
        }

        .upload-img-disabled {
            :deep .el-upload-dragger {
                cursor: not-allowed;
            }
        }

        .drag-sort-box {
            display: grid;
            /* 指定每一行的宽度 每个宽度中间用空格隔开 */

            grid-template-rows: 50px 50px 50px;
            /* 指定每一列的宽度 每个宽度中间用空格隔开 */
            grid-template-columns: 50px 50px 50px;
            column-gap: 12px;
            row-gap: 12px;

            .drag-sort-item {
                cursor: pointer;
                transition: all 0.3s;

                background: #eaeaea;

                .item {
                    position: relative;

                    width: 50px;
                    height: 50px;

                    .item-img {
                        width: 100%;
                        height: 100%;
                    }

                    .item-img-hover {
                        position: absolute;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        left: 0;

                        width: 50px;
                        height: 50px;

                        opacity: 0;

                        .del-img {
                            position: absolute;
                            top: 0;
                            right: 0;

                            width: 20px;
                            height: 20px;
                        }

                        .item-img-hover-cover {
                            position: absolute;
                            top: 50%;
                            left: 50%;

                            width: 30px;

                            transform: translate(-50%, -50%);

                            color: #ffffff;

                            line-height: 17px;
                        }
                    }

                    .item-img-hover:hover {
                        opacity: 1;
                        background: rgba(0, 0, 0, 0.4);
                    }

                    .item-cover {
                        position: absolute;
                        right: 0;
                        bottom: 0;
                        left: 0;

                        height: 16px;

                        text-align: center;

                        color: #ffffff;
                        background: rgba(51, 48, 45, 0.6);

                        font-size: 12px;
                        line-height: 16px;
                    }
                }
            }
        }
    }

    .sku-value-upload {
        position: relative;

        width: 70px;
        height: 70px;
        margin-top: 12px;

        :deep(.el-upload-dragger) {
            height: 70px;
            padding: 0;
        }

        .sku-value-img {
            width: 100%;
            height: 100%;
        }

        .sku-value-box-hover {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;

            opacity: 0;

            .del-img {
                position: absolute;
                top: 0;
                right: 0;

                width: 26px;
                height: 26px;
            }
        }

        .sku-value-box-hover:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.4);
        }

        .sku-value-no {
            color: #ff6b00;

            font-size: 12px;
            line-height: 14px;

            img {
                width: 24px;
                height: 24px;
                margin: 12px 0 8px 0;
            }
        }

        .sku-value-box-del {
            position: absolute;
            top: 0;
            right: 0;

            width: 14px;
            height: 14px;

            cursor: pointer;

            color: #ffffff;
            border-radius: 50%;
            background: #cccccc;

            font-size: 14px;
            line-height: 14px;
        }

        .sku-value-box-change {
            position: absolute;
            bottom: 8px;
            left: 13px;

            width: 42px;
            height: 20px;

            cursor: pointer;
            text-align: center;

            color: #ffffff;
            border: 1px solid #ffffff;
            border-radius: 2px;

            line-height: 20px;
        }
    }

    .price-inventory {
        padding: 20px 24px;

        background-color: #ffffff;
    }
    .sku-content {
        margin-left: 80px;

        .sku-item {
            display: flex;

            width: 825px;

            .sku-item-box {
                display: flex;
                align-items: center;
                flex: 1;
                justify-content: space-between;

                margin-bottom: 23px;
                padding: 23px 23px 11px;

                border: 1px solid #eaeaea;

                .sku-value-item {
                    position: relative;

                    width: 160px;
                    margin-right: 8px;
                    margin-bottom: 15px;

                    .sku-value-item-img-del {
                        position: absolute;
                        top: -7px;
                        right: -7px;

                        width: 14px;
                        height: 14px;

                        cursor: pointer;
                        text-align: center;

                        color: #ffffff;
                        border-radius: 50%;
                        background: #cccccc;

                        font-size: 14px;
                        line-height: 7px;
                    }
                }

                .sku-value-update {
                    align-self: flex-start;

                    cursor: pointer;

                    color: #ff6b00;

                    font-size: 14px;
                    font-weight: 400;
                    line-height: 30px;

                    .sku-value-update-img {
                        width: 20px;
                        height: 20px;

                        vertical-align: sub;
                    }
                }

                .delete-sku {
                    width: 64px;
                    height: 100%;

                    text-align: right;

                    img {
                        width: 26px;
                        height: 26px;

                        cursor: pointer;
                    }
                }
            }
        }

        .sku-button {
            margin-bottom: 16px;

            font-size: 14px;

            .sku-button-btn {
                display: flex;
                align-items: center;

                .sku-button-btn-sort {
                    padding-left: 12px;

                    cursor: pointer;

                    color: #4a90e2;

                    line-height: 14px;
                }
            }

            .sku-button-tips {
                display: contents;

                color: #969696;
                color: #969696;

                font-size: 12px;
                font-weight: 400;
            }
        }
    }

    .sku-sort-popup {
        display: flex;

        .sku-sort-item {
            margin-right: 16px;
            padding: 11px 16px;

            cursor: pointer;

            color: #33302d;
            border-radius: 2px;
            background: #ffe5dc;

            font-size: 14px;
            line-height: 14px;
        }
    }

    .sku-price {
        .sku-price-table {
            display: flex;

            .title {
                min-width: 80px;

                color: #33302d;

                font-size: 14px;
                line-height: 14px;
            }

            .tabel-list {
                min-width: calc(100% - 80px);
                .tabel-list-item-img {
                    width: 80px;
                    height: 80px;
                }

                .batch-setting {
                    display: flex;
                    align-items: center;

                    padding: 10px 24px;
                }
            }
        }
    }

    .freight-part {
        margin: 16px 0;
        padding: 20px 24px;

        background-color: #ffffff;

        .freight-select {
            width: 40%;
            margin: 18px 0;
        }
    }

    .update-goods {
        display: flex;
        flex-direction: column;

        height: calc(100vh - 203px);
        .update-goods_editor {
            flex: 1;
            :deep(.tox-tinymce) {
                height: 100% !important;
            }
        }
    }

    .submit-button {
        padding: 11px 0;

        text-align: center;

        background-color: #ffffff;
    }
    .el-table {
        box-shadow: none;
        :deep(.el-table__empty-block),
        :deep(.el-table__append-wrapper) {
            border-bottom: 1px solid #eaeaea;
        }
    }
}
.sku-erp-header {
    display: flex;
    align-items: center;
    span {
        line-height: 1;
    }
    img {
        width: 18px;
        height: 18px;
        margin-left: 4px;

        font-size: 0;
    }
}
